package mk.com.ldm.corepoint.administration.shared;

import java.util.ArrayList;

public class TemporaryStorage {
	
	private static TemporaryStorage temp;
	
	public static TemporaryStorage getInstance(){
		if(temp==null)
			temp = new TemporaryStorage();
		return temp;
	}
	
	private String selectedProject;
	private String selectedPage;
	private String selectedUser;
	private String selectedEvent;
	private String selectedPermission;
	private String selectedObject;
	private ArrayList<Foreign> foreign = new ArrayList<Foreign>();

	public ArrayList<Foreign> getForeign() {
		return foreign;
	}
	
	public void addForeign(Foreign foreign) {
		this.foreign.add(foreign);
	}
	
	public String getSelectedProject() {
		return selectedProject;
	}
	public void setSelectedProject(String selectedProject) {
		this.selectedProject = selectedProject;
	}
	public String getSelectedPage() {
		return selectedPage;
	}
	public void setSelectedPage(String selectedPage) {
		this.selectedPage = selectedPage;
	}
	public String getSelectedUser() {
		return selectedUser;
	}
	public void setSelectedUser(String selectedUser) {
		this.selectedUser = selectedUser;
	}
	public String getSelectedEvent() {
		return selectedEvent;
	}
	public void setSelectedEvent(String selectedEvent) {
		this.selectedEvent = selectedEvent;
	}
	public String getSelectedPermission() {
		return selectedPermission;
	}
	public void setSelectedPermission(String selectedPermission) {
		this.selectedPermission = selectedPermission;
	}
	public String getSelectedObject() {
		return selectedObject;
	}
	public void setSelectedObject(String selectedObject) {
		this.selectedObject = selectedObject;
	}
	
}
